package splash.core.execution;

import javax.swing.JOptionPane;

public class MessageThread implements Runnable {

        private String message;
        private String from;
        private int type;

        private MessageThread()
        {

        }

        public MessageThread(String message, String from, int type)
        {
            this.message = message;
            this.from = from;
            this.type = type;
        }

        @Override
        public void run()
        {
                JOptionPane.showMessageDialog(null, message, from, type);
        }
}
